from pydantic import BaseModel, ConfigDict

class BaseSchema(BaseModel):
    """基础Schema配置"""
    model_config = ConfigDict(
        from_attributes=True,
        json_schema_extra={
            "example": {}  # 可以在子类中覆盖这个示例
        }
    ) 